WP_Defender\Component\Two_Factor\Providers\Totp S

Total Complexity 40
Dependencies 8
Dependents 3
Total lines 425
Lines of code 191
Logical lines of code 86
Comment lines 114
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
user_options()
A
43 6 52
verify_otp()
S
56 6 16
get_user_secret()
S
60 5 13
generate_otp()
S
52 4 21
validate_authentication()
S
56 4 20
init_provider()
S
60 4 13
authentication_form()
S
62 1 15
save_setup_key()
S
67 2 8
__construct()
S
74 1 4
get_label()
S
78 1 3
get_login_label()
S
79 1 3
get_user_label()
S
79 1 3
get_description()
S
82 1 3
get_auth_apps()
S
69 1 7
generate_qr_code()
S
67 1 7
is_available_for_user()
S
78 1 3